package com.ruoyi.classai.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.classai.domain.PxTrainingCourseHomework;
import com.ruoyi.classai.domain.vo.px.PxTrainingWorkVo;
import org.apache.ibatis.annotations.Param;

/**
 * 课后作业提交记录Mapper接口
 * 
 * @author lcj
 * @date 2025-06-20
 */
public interface PxTrainingCourseHomeworkMapper extends BaseMapper<PxTrainingCourseHomework> {


    /**
     * 查询学员的培训作业
     * @param teacherId 老师id
     * @param status 状态0未完成1已完成
     * @return 培训作业列表
     */
    List<PxTrainingWorkVo> getTrainingWork(@Param("teacherId") String teacherId, @Param("status") Integer status);
}
